home *** CD-ROM | disk | FTP | other *** search
- /* Example of MULTIPLE_SELECT. Note that you can do this with STRING_MODE, too */
-
- /* Get a ReqDef structure */
- rq=rxi_GetReq()
- IF rq == '' | rq == 0 THEN SAY 'ReqDef allocation error'
-
- /* Do the File Requester with MULTIPLE_SELECT and INFO_SUPPRESS */
- path=rxi_ReqWindow(rq,'Make numerous selections',4096+2048,,,,,,0)
- IF path == '' THEN SAY 'Cancelled'
-
- IF path > '' THEN DO
- /* Now let's go through the list, and print out the entire path for each selection */
-
- /* First, we call FirstReq once to get the first selection. */
- fname = rxi_FirstReq(rq)
-
- DO WHILE fname > ''
-
- /* Make the full path (ie append the filename to the dir) */
- /* If we were using STRING_MODE, we would skip this */
- fname = rxi_GetPath(rq,fname)
-
- /* Print out this selection */
- SAY fname
-
- /* Get the next selection */
- fname = rxi_NextReq(rq)
-
- END
- END
-
- /* Free the ReqDef */
- rq=rxi_EndReq(rq)
-